.homepage {
  height: 100%;
}
.homepage-content {
  overflow: scroll;
  height: 100%;
}
.nav-main {
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    rgb(65, 148, 136),
    rgb(83, 182, 136)
  ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  box-shadow: 0 0 10px rgb(83, 182, 136);
}
.nav-block {
  display: flex;
  // background-color: rgb(65, 148, 136);
  .nav-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60rpx 0;
    color: #fff;
    font-size: 34rpx;
    flex: 1;
    img {
      width: 100rpx;
      height: 100rpx;
      margin: 20rpx;
    }
  }
}
.weather-report {
  position: relative;
  display: flex;
  padding: 20rpx;
  padding-left: 30rpx;
  color: #fff;
  // margin-top: 40rpx;
  height: 300rpx;
  border-top: 2px dashed #fff;
  .main-weather {
    display: flex;
    flex-direction: column;
    .city {
      font-size: 46rpx;
      img {
        width: 40rpx;
        height: 40rpx;
      }
    }
    .temperature {
      display: flex;
      padding-top: 20rpx;
      font-size: 140rpx;
      position: relative;
      span {
        display: block;
        font-size: 60rpx;
        margin-top: -8rpx;
      }
    }
  }
  .weather-desc {
    display: flex;
    position: relative;
    flex: 1;
    flex-direction: column;
    .weather {
      display: flex;
      position: absolute;
      right: 20rpx;
      top: 0;
      width: 140rpx;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      font-size: 50rpx;
      text-align: right;
      img {
        margin-bottom: 20rpx;
        width: 100rpx;
        height: 100rpx;
      }
      .weather-name {
        white-space: nowrap;
      }
    }
    .tiny-desc {
      position: absolute;
      right: 20rpx;
      bottom: 20rpx;
      display: flex;
      text-align: right;
      font-size: 32rpx;
      .wind-direction {
        img {
          width: 30rpx;
          height: 30rpx;
          margin-bottom: -2rpx;
        }
      }
      .humidity {
        text-align: right;
        padding-left: 30rpx;
        img {
          width: 30rpx;
          height: 30rpx;
          margin-bottom: -2rpx;
        }
      }
    }
  }
}

.notification {
  border-top: 20rpx solid #d8d8d8;
  padding-bottom: 400rpx;
  .notification-item {
    position: relative;
    height: 150rpx;
    padding: 0 20rpx;
    background-color: #fff;
    border-bottom: 1px solid #dbdbdb;
    .notice-logo {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      background-color: #009688;
      width: 100rpx;
      height: 100rpx;
      border-radius: 50%;
      justify-content: center;
      align-items: center;
      img {
        width: 70rpx;
        height: 70rpx;
      }
    }
    .notice-title {
      position: absolute;
      left: 160rpx;
      top: 20rpx;
      font-size: 36rpx;
    }
    .notice-desc {
      position: absolute;
      left: 160rpx;
      top: 80rpx;
      color: #aaa;
      width: 550rpx;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .notice-time {
      position: absolute;
      right: 20rpx;
      top: 20rpx;
      color: #ccc;
    }
  }
}
.notification-tips {
  padding: 20rpx;
  font-size: 36rpx;
  text-align: center;
  color: #535353;
}
